package com.tt.fashionWebSite.service;

import com.tt.fashionWebSite.dto.GioHangDto;
import com.tt.fashionWebSite.dto.PaymentDto;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * Created by isoft-work 5 on 12/21/2014.
 */
public interface PaymentService {
   PaymentDto billPayment(PaymentDto paymentDto, GioHangDto gioHangDto);

   void payPalCheckOut(HttpServletRequest request, HttpServletResponse response, GioHangDto gioHangDto) throws ServletException, IOException;
   void payPalSuccess(HttpServletRequest request, HttpServletResponse response, GioHangDto gioHangDto, PaymentDto paymentDto) throws ServletException, IOException;

   void baoKimPayment(HttpServletRequest request, HttpServletResponse response, GioHangDto gioHangDto) throws ServletException, IOException;
   void kimBaoSuccess(String idHD, GioHangDto gioHangDto, PaymentDto paymentDto) throws ServletException, IOException;

   void nganLuongPayment(HttpServletRequest request, HttpServletResponse response, GioHangDto gioHangDto) throws ServletException, IOException;

}
